package org.ic992929.SbStart.controller;

import org.ic992929.SbStart.config.WiselySettings;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
  public class TestController {  
      @Autowired
      WiselySettings wiselySettings;

      @RequestMapping("/test")
     public @ResponseBody
      String test(){
        System.out.println(wiselySettings.getGender()+"---"+wiselySettings.getName());  
        return wiselySettings.getGender()+"---"+wiselySettings.getName();
    }   
}